package com.ninong.ker.admin.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ninong.ker.admin.domain.User;
import com.ninong.ker.admin.rest.vo.MenuVO;
/**
 * 登录mapper
 * @author cmd
 *
 */
public interface LoginMapper extends BaseMapper<User> {
	
	
	/**
	 * 获取当前用户可用按钮code
	 * 
	 * @param param
	 * @return
	 */
	List<String> findAuthorities(Map<String, Object> param);
	
	/**
	 * 获取当前用户可用菜单
	 * 
	 * @param param
	 * @return
	 */
	List<MenuVO> getMenus(Map<String, Object> param);

}
